package com.hfy.admin;

import com.hfy.feign.IMusicClient;
import com.hfy.feign.IUserClient;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@SpringBootApplication
@EnableDiscoveryClient
@EnableAsync
@EnableTransactionManagement
@EnableFeignClients(clients = {IMusicClient.class, IUserClient.class})
@EnableAspectJAutoProxy
public class MusicServiceAdminApplication {

    public static void main(String[] args) {
        SpringApplication.run(MusicServiceAdminApplication.class, args);
    }

}
